import { httpRequest } from '@/utils/http.js'

// 获取验证码
export const getCodeApi = (data) =>
  httpRequest({
    url: '/code/getCode',
    data,
  })

// 验证码登录
export const loginCodeApi = (data) =>
  httpRequest({
    url: '/family/auth/loginCode',
    data,
    method: 'POST',
  })
